<template>
  <a-descriptions-item :label="label" :span="span">
    <slot />
    <slot name="label" slot="label" />
  </a-descriptions-item>
</template>

<script>
export default {
  name: 'DDescriptionsItem',
  props: {
    label: {
      type: String
    },
    span: {
      type: Number,
      default: 1
    }
  }
};
</script>

<style lang="scss" scoped></style>
